const pre = '/commodity/'

export default {
  path: '/commodity',
  title: '商品中心',
  header: 'home',
  icon: 'md-appstore',
  children: [{
    path: `${pre}/commodityManage`,
    title: '商品管理',
    children: [{
      path: `${pre}commodityManage/commodityList`,
      title: '添加商品管理',
      children: [{
        path: `${pre}commodityManage/addCommodity/commodityList`,
        title: '添加商品管理'
      }, ]
    },
    {
      path: `${pre}commodityManage/addCommodity`,
      title: '添加商品',
      children: [{
        path: `${pre}commodityManage/addCommodity/commodityAdd`,
        title: '添加商品'
      }, ]
    },
    {
      path: `${pre}commodityManage/waitAccess/waitAccessList`,
      title: '待准入商品列表'
    },
    {
      path: `${pre}commodityManage/SPUManage/SPUManageList`,
      title: 'SPU管理列表'
    },
    {
      path: `${pre}commodityManage/SKUManage/SKUManageList`,
      title: 'SKU管理列表'
    },
    {
      path: `${pre}commodityManage/chageFromManage`,
      title: '修改商品表单管理',
      children: [{
        path: `${pre}commodityManage/chageFromManage/chageFromManageList`,
        title: '修改商品表单管理'
      }, ]
    },
    {
      path: `${pre}commodityManage/stopOrEnableManage/stopOrEnableManageList`,
      title: '停用/启用商品管理'
    },
    {
      path: `${pre}commodityManage/publishOrUnderManage/publishOrUnderManageList`,
      title: '上下架商品管理'
    },
    {
      path: `${pre}commodityManage/unitsManage/unitsManageList`,
      title: '多计量单位'
    },
    {
      path: `${pre}commodityManage/marketingAttrManage/marketingAttrManageList`,
      title: '商品营销属性'
    },
    {
      path: `${pre}commodityManage/qualificationsManage/qualificationsManageList`,
      title: '商品资质管理'
    },
    {
      path: `${pre}commodityManage/acceptanceCriteriaManage/acceptanceCriteriaManageList`,
      title: '普通商品验收标准管理'
    },
    {
      path: `${pre}commodityManage/relatedGoodsManage/relatedGoodsManageList`,
      title: '关联商品管理'
    },
    {
      path: `${pre}commodityManage/modifySalesArea/modifySalesAreaLists`,
      title: '修改销售区域'
    },
    ]
  },
  {
    path: `${pre}/batchCommodityAdd`,
    title: '商品管理',
    children: [{
      path: `${pre}batchCommodityAdd/basicsInfoManage/basicsInfoManageList`,
      title: '批量商品基本信息'
    },
    {
      path: `${pre}batchCommodityAdd/attInfoManage/attInfoManageList`,
      title: '批量商品管理属性'
    },
    {
      path: `${pre}batchCommodityAdd/skuInfoManage/skuInfoManageList`,
      title: 'sku信息'
    },
    {
      path: `${pre}batchCommodityAdd/supplyInfoManage/supplyInfoManageList`,
      title: '供货信息'
    },
    {
      path: `${pre}batchCommodityAdd/bidInfoManage/bidInfoManageList`,
      title: '供货进价'
    },
    {
      path: `${pre}batchCommodityAdd/saleInfoManage/saleInfoManageList`,
      title: '批量商品售价信息'
    },
    ]
  },
  {
    path: `${pre}/supplyinfoManage`,
    title: '供货信息管理',
    children: [{
      path: `${pre}supplyinfoManage/supplyinfoManageList`,
      title: '供货信息管理'
    }, ]
  },
  {
    path: `${pre}temporaryManage`,
    title: '临采商品管理',
    children: [{
      path: `${pre}temporaryManage/temporaryManageList`,
      title: '临采商品管理'
    }, ]
  },
  {
    path: `${pre}attrManage`,
    title: '管理属性管理',
    children: [{
      path: `${pre}attrManage/attrManageManageList`,
      title: '管理属性管理'
    }, ]
  },
  ]
}
